package edu.umuc.duchon.umlteam.main.renderers;

import org.eclipse.swt.widgets.Composite;

import edu.umuc.duchon.umlteam.main.core.DiagramModel;

public interface Renderer {
	
	public boolean isGraphical();
	
	/**
	 * If the renderer is not graphical, ignore the Composite surface parameter.
	 * 
	 * @param diag The fully parsed DiagramModel to render
	 * @param surface The SWT Composite to render to if it's graphical
	 * 
	 */
	public void render(DiagramModel diag, Composite surface);
}
